<%@ page language="java" import="java.util.*,ms.platform.system.model.*"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<title>材料使用新增</title>
<base href="<%=basePath%>">

<!-- 引用新样式 start -->
<jsp:include page="../../jsp/public.jsp" flush="true"/>
<!-- end -->
<script type="text/javascript" src="<%=basePath%>js/progress/addMeterUse.js"></script>
</head>
<body>
	<div class="col-lg-12">
                <div class="index-nav-right">
                    <div class="index-nav-right-header"><span>当前位置>厂商平台 > <b>材料使用新增</b></span></div>
                </div>

                <div class="add-one-right">
                  
                        <div class="row">
                             <div class="addInfo-one" id="departmentId" style="padding-top: 0px;height: 420px;">
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">部品番号<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" disabled class="form-control" id="modelCode" value="${meter.modelCode }">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">用途<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <select class=" form-control input-sm"
												name="useFor" id="useFor">
													<option value="取样">取样</option>
													<option value="调试">调试</option>
											</select>
                                </div>
                            </div>
                        </div>
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">使用枚数<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="usedAmount" id="usedAmount" value="">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">使用时间<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="Wdate form-control" name="usedTime" id="usedTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" value ="">
                                </div>
                            </div>
                        </div>
                        <div class="add-one-form-rowHeight add-one-form-button">
                                <div class="">
                                    <button type="button" class="btn navbar-default"  onClick = "saveMeterUsed(0)">保存</button>
                                </div>
                                <div class="">
                                    <button type="button" class="btn navbar-default"  onClick = "saveMeterUsed(1)">提交</button>
                                </div>
                        </div>
                    	</div>
                        </div>
                    </div>
                    <!--表单信息输入第三步E-->
                    <!--表单信息输入-->

                </div>
                <input id = "meterId" hidden = "true" value = "${meter.id }"/>
                <input id = "avaliablAmount" hidden = "true" value = "${meter.avaliablAmount }"/>
</body>

</html>